package com.wuhongyu.mapper;

import com.wuhongyu.entity.Mobilephone;
import com.wuhongyu.entity.MobilephoneCutsom;
import com.wuhongyu.entity.MobilephoneExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MobilephoneMapper {
    int countByExample(MobilephoneExample example);

    int deleteByExample(MobilephoneExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Mobilephone record);

    int insertSelective(Mobilephone record);

    List<Mobilephone> selectByExample(MobilephoneExample example);

    Mobilephone selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Mobilephone record, @Param("example") MobilephoneExample example);

    int updateByExample(@Param("record") Mobilephone record, @Param("example") MobilephoneExample example);

    int updateByPrimaryKeySelective(Mobilephone record);

    int updateByPrimaryKey(Mobilephone record);
    
    List<MobilephoneCutsom> selectAll(@Param("phone")Mobilephone mobilephone);
    
    MobilephoneCutsom selectById(@Param("id")Integer id);
    
    void deleteBath(@Param("ids")List<Integer> ids);
}